OPC Studio User's Guide and Reference
UAAttributeDataResult<T> Constructor(Object,UAAttributeData<T>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Generic Namespace > UAAttributeDataResult<T> Class > UAAttributeDataResult<T> Constructor : UAAttributeDataResult<T> Constructor(Object,UAAttributeData<T>)
The state object specified when the operation was invoked.

The value of this parameter can be null (Nothing in Visual Basic).

The typed UAAttributeData<TValue> (value, timestamps and status code) that is a successful result of the operation.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, with given state object and typed UAAttributeData<TValue>.
Syntax
'Declaration
 
Public Function New( _
   ByVal state As Object, _
   ByVal attributeData As UAAttributeData(Of T) _
)
'Usage
 
Dim state As Object
Dim attributeData As UAAttributeData(Of T)
 
Dim instance As New UAAttributeDataResult(Of T)(state, attributeData)
public UAAttributeDataResult<T>( 
   object state,
   UAAttributeData<T> attributeData
)
public:
UAAttributeDataResult<T>( 
   Object^ state,
   UAAttributeData<T^>^ attributeData
)

Parameters

state
The state object specified when the operation was invoked.

The value of this parameter can be null (Nothing in Visual Basic).

attributeData
The typed UAAttributeData<TValue> (value, timestamps and status code) that is a successful result of the operation.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also